﻿<%@ Page Title="" Language="VB" MasterPageFile="~/Devida/Siste.master" AutoEventWireup="false" CodeFile="ProgFinanciero.aspx.vb" Inherits="Devida_ProgFinanciero" Theme="Yahoo-Ocean" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="cc1" %>
<%@ Register src="ucAlerta.ascx" TagName="Alerta" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <base target="_self" />
<link href="../css/EstilosFrm.css" type="text/css" rel="stylesheet" /> 
   <link href="../css/i_consultas.css" type="text/css" rel="stylesheet" />
   <link href="../css/diseno.css" type="text/css" rel="Stylesheet" />
    <link href="../css/style2.css" type="text/css" rel="stylesheet" />
    <link href="../css/StyleSheet.css" type="text/css" rel="stylesheet" />
    
    <script language="javascript" src="../Script/PrintScript.js" type="text/javascript"> </script>
    <script src="../js/jsForms/js_Consulta.js" type="text/javascript"></script>
    <script src="../js/js_windowpopup.js" type="text/javascript"></script>
    <script language="javascript" type="text/javascript">

        function Resaltar_On(GridView) {
            if (GridView != null) {
                GridView.originalBgColor = GridView.style.backgroundColor;
                GridView.style.backgroundColor = "#5BADFF";
            }
        }

        function Resaltar_Off(GridView) {
            if (GridView != null) {
                GridView.style.backgroundColor = GridView.originalBgColor;
            }
        }
    
    </script>
     
   
    <style type="text/css">


        .style1
        {
            width: 100%;
        }
        .style2
        {
            height: 9px;
        }
        </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cph_name" Runat="Server">
    <asp:Label ID="lb_name" runat="server" Font-Names="Arial"
                        Font-Size="17px" ForeColor="white" Text="Programación financiera" 
                        Font-Bold="True" ></asp:Label>                   
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    
      
           <table cellpadding="0" cellspacing="0" width="1000px" style="border: 1px solid #295EAB;
            text-align: left; color: #FFFFFF;" bgcolor="#009933">
               <tr>
            <td class="btn" align="left" 
                style="color: #FFFFFF; font-family: Arial, Helvetica, sans-serif; height: 25px; font-size: medium;" 
                bgcolor="#009933">
                        <asp:Label ID="lblNomProyAct" runat="server" Font-Names="Arial" Font-Size="10px" ForeColor="white" Text="" Font-Bold="True" >   </asp:Label>   <br/>                  
                        <asp:Label ID="lblNomEjecutor" runat="server" Font-Names="Arial" Font-Size="10px" ForeColor="white" Text="" Font-Bold="True" >   </asp:Label>  <br/>                   
                        <asp:Label ID="lblPoa" runat="server" Font-Names="Arial" Font-Size="10px" ForeColor="white" Text="" Font-Bold="True" >   </asp:Label>                     
          </td>         
        </tr>
            </table>
            <table cellpadding="0" cellspacing="0" style="width: 1000px; height: 300px;">
                        <tr>
                            <td>
                                <div   style="border: solid 1px #99aabd; width: 1000px; height: 300px; overflow: auto;"
                                    align="center">
                                    <asp:UpdatePanel ID="UpdatePanel1" runat="server" Width="1000px">
                            <ContentTemplate>
                            <asp:GridView ID="gv_Detalle" runat="server" AutoGenerateColumns="False" 
                                    CssClass="grid" Font-Size="10pt"  Width="1000px" GridLines="None" ShowFooter="True">                                        
                                    <RowStyle ForeColor="#333333" Font-Bold="False" BackColor="#F7F6F3" VerticalAlign="Top" />
                                            <Columns>
                                                <asp:BoundField DataField="ESPECIFICA_GASTO" HeaderText="ESPECIFICA GASTO" ItemStyle-Width="80px" ItemStyle-HorizontalAlign="Left" />
                                                <asp:BoundField DataField="DESCRIPCION" HeaderText="DESCRIPCION" ItemStyle-Width="140px" ItemStyle-HorizontalAlign="Left" />
                                                <asp:BoundField DataField="META_01" HeaderText="ENE" ItemStyle-Width="60px" ItemStyle-HorizontalAlign="Right" HtmlEncode="false" DataFormatString="{0:n2}"/>
                                                <asp:BoundField DataField="META_02" HeaderText="FEB" ItemStyle-Width="60px" ItemStyle-HorizontalAlign="Right" HtmlEncode="false" DataFormatString="{0:n2}"/>
                                                <asp:BoundField DataField="META_03" HeaderText="MAR" ItemStyle-Width="60px" ItemStyle-HorizontalAlign="Right" HtmlEncode="false" DataFormatString="{0:n2}"/>
                                                <asp:BoundField DataField="META_04" HeaderText="ABR" ItemStyle-Width="60px" ItemStyle-HorizontalAlign="Right" HtmlEncode="false" DataFormatString="{0:n2}"/>
                                                <asp:BoundField DataField="META_05" HeaderText="MAY" ItemStyle-Width="60px" ItemStyle-HorizontalAlign="Right" HtmlEncode="false" DataFormatString="{0:n2}"/>
                                                <asp:BoundField DataField="META_06" HeaderText="JUN" ItemStyle-Width="60px" ItemStyle-HorizontalAlign="Right" HtmlEncode="false" DataFormatString="{0:n2}"/> 
                                                <asp:BoundField DataField="META_07" HeaderText="JUL" ItemStyle-Width="60px" ItemStyle-HorizontalAlign="Right" HtmlEncode="false" DataFormatString="{0:n2}"/>
                                                <asp:BoundField DataField="META_08" HeaderText="AGO" ItemStyle-Width="60px" ItemStyle-HorizontalAlign="Right" HtmlEncode="false" DataFormatString="{0:n2}"/> 
                                                <asp:BoundField DataField="META_09" HeaderText="SET" ItemStyle-Width="60px" ItemStyle-HorizontalAlign="Right" HtmlEncode="false" DataFormatString="{0:n2}"/> 
                                                <asp:BoundField DataField="META_10" HeaderText="OCT" ItemStyle-Width="60px" ItemStyle-HorizontalAlign="Right" HtmlEncode="false" DataFormatString="{0:n2}"/>
                                                <asp:BoundField DataField="META_11" HeaderText="NOV" ItemStyle-Width="60px" ItemStyle-HorizontalAlign="Right" HtmlEncode="false" DataFormatString="{0:n2}"/>
                                                <asp:BoundField DataField="META_12" HeaderText="DIC" ItemStyle-Width="60px" ItemStyle-HorizontalAlign="Right" HtmlEncode="false" DataFormatString="{0:n2}"/>
                                                <asp:BoundField DataField="META_ANUAL" HeaderText="META ANUAL" ItemStyle-Width="60px" ItemStyle-HorizontalAlign="Right" DataFormatString="{0:n2}" />                                                                                                       
                                            </Columns>
                                             <SelectedRowStyle BackColor="#5BADFF" Font-Bold="True" ForeColor="#333333" />
                                    <AlternatingRowStyle BackColor="#CEDAF2" ForeColor="#003366" />
                                    <PagerStyle BackColor="#336699" Font-Bold="True" Font-Names="Verdana" Font-Size="10px"
                                        ForeColor="White" Wrap="False" HorizontalAlign="left" />
                            <FooterStyle HorizontalAlign="Right" />            
                            
                            </asp:GridView>
                            </ContentTemplate>
                        </asp:UpdatePanel>
                                </div>
                                 <div id="print_area" style="width: 100%; display: none;" >
                                     <table style="width: 100%">
                                         <tr>
                                             <td align="center">
                                                 <asp:Label ID="Label2" runat="server" Style="font-family: Arial, Helvetica, sans-serif;
                                                     font-size: 15px" Text="Programación Financiera" Font-Bold="True"></asp:Label>
                                             </td>
                                         </tr>
                                         <tr>
                                             <td>
                                                 &nbsp
                                             </td>
                                         </tr>
                                         <tr>
                                             <td>
                                                 <asp:Label ID="lblPoaImp" runat="server" Style="font-family: Arial, Helvetica, sans-serif;
                                                     font-size: 11px"></asp:Label>
                                             </td>
                                         </tr>
                                         <tr>
                                             <td>
                                                 &nbsp
                                             </td>
                                         </tr>
                                     </table>
                                     <asp:GridView ID="gv_doc" runat="server" AutoGenerateColumns="False" GridLines="both"
                                        CellPadding="4" Font-Size="10pt" BorderColor="Black" ShowHeader="true">     
                                        <RowStyle VerticalAlign="Top" Font-Names="Arial, Helvetica, sans-serif" Font-size="11px"/>                               
                                            <Columns>
                                                <asp:BoundField DataField="GENERICA_GASTO" HeaderText="GENERICA GASTO" ItemStyle-Width="100px" ItemStyle-HorizontalAlign="Left" />
                                                <asp:BoundField DataField="ESPECIFICA_GASTO" HeaderText="ESPECIFICA GASTO" ItemStyle-Width="100px" ItemStyle-HorizontalAlign="Left" />
                                                <asp:BoundField DataField="META_01" HeaderText="ENE" ItemStyle-Width="80px" ItemStyle-HorizontalAlign="Right" HtmlEncode="false" DataFormatString="{0:n2}"/>
                                                <asp:BoundField DataField="META_02" HeaderText="FEB" ItemStyle-Width="80px" ItemStyle-HorizontalAlign="Right" HtmlEncode="false" DataFormatString="{0:n2}"/>
                                                <asp:BoundField DataField="META_03" HeaderText="MAR" ItemStyle-Width="80px" ItemStyle-HorizontalAlign="Right" HtmlEncode="false" DataFormatString="{0:n2}"/>
                                                <asp:BoundField DataField="META_04" HeaderText="ABR" ItemStyle-Width="80px" ItemStyle-HorizontalAlign="Right" HtmlEncode="false" DataFormatString="{0:n2}"/>
                                                <asp:BoundField DataField="META_05" HeaderText="MAY" ItemStyle-Width="80px" ItemStyle-HorizontalAlign="Right" HtmlEncode="false" DataFormatString="{0:n2}"/>
                                                <asp:BoundField DataField="META_06" HeaderText="JUN" ItemStyle-Width="80px" ItemStyle-HorizontalAlign="Right" HtmlEncode="false" DataFormatString="{0:n2}"/> 
                                                <asp:BoundField DataField="META_07" HeaderText="JUL" ItemStyle-Width="80px" ItemStyle-HorizontalAlign="Right" HtmlEncode="false" DataFormatString="{0:n2}"/>
                                                <asp:BoundField DataField="META_08" HeaderText="AGO" ItemStyle-Width="80px" ItemStyle-HorizontalAlign="Right" HtmlEncode="false" DataFormatString="{0:n2}"/> 
                                                <asp:BoundField DataField="META_09" HeaderText="SET" ItemStyle-Width="80px" ItemStyle-HorizontalAlign="Right" HtmlEncode="false" DataFormatString="{0:n2}"/> 
                                                <asp:BoundField DataField="META_10" HeaderText="OCT" ItemStyle-Width="80px" ItemStyle-HorizontalAlign="Right" HtmlEncode="false" DataFormatString="{0:n2}"/>
                                                <asp:BoundField DataField="META_11" HeaderText="NOV" ItemStyle-Width="80px" ItemStyle-HorizontalAlign="Right" HtmlEncode="false" DataFormatString="{0:n2}"/>
                                                <asp:BoundField DataField="META_12" HeaderText="DIC" ItemStyle-Width="80px" ItemStyle-HorizontalAlign="Right" HtmlEncode="false" DataFormatString="{0:n2}"/>
                                                <asp:BoundField DataField="META_ANUAL" HeaderText="META ANUAL" ItemStyle-Width="80px" ItemStyle-HorizontalAlign="Right" HtmlEncode="false" DataFormatString="{0:n2}"/>                                                                                                       
                                            </Columns>                                                                                                                                                                                     
                                        </asp:GridView>                                           
                                </div>                                
                            </td>
                        </tr>
               </table>
             
            <table width="900px">
                <tr>
                   <td width="120px" align="left"> <img id="btnImprimir" runat="server" title="Imprimir Programación Financiera" src="../Imagenes/btnImprimir.png" style="cursor:hand" alt="" onclick="getPrint('print_area')"/>   
                    </td>
                    <td >&nbsp;</td>
                    <td width="40px"  align="right"><asp:ImageButton ID="btn_salir" runat="server" Height="23px" align="right" ToolTip="Salir" ImageUrl="~/Imagenes/btnSalir.png" /></td>
                </tr>
            </table>
            
  <uc1:Alerta id="alerta" runat="server"></uc1:Alerta>
</asp:Content>

